

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<jsp:useBean id="sitenav" type="com.ibm.etools.siteedit.sitelib.core.SiteNavBean" scope="request"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html>
<head>
<title>horizontal-tab01</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/theme/horizontal-tab01.css">
</head>
<body>
<table class="htab01_table" cellspacing="0" cellpadding="0">
   <tbody class="htab01_table_body">
      <tr class="htab01_table_row">
<c:forEach var="item" items="${sitenav.items}">
 <c:choose>
  <c:when test="${item.self}">
         <td class="htab01_cell_self">
         <table cellspacing="0" cellpadding="0" border="0">
            <tbody>
               <tr>
                  <c:out value='<td nowrap valign="bottom" align="right" width="${sitenav.navtabSelImgSize[0][0]}" height="${sitenav.navtabSelImgSize[1][0]}"><img border="0" src="${sitenav.navtabSelImg[0]}" width="${sitenav.navtabSelImgSize[0][0]}" height="${sitenav.navtabSelImgSize[1][0]}" alt=""></td>' escapeXml='false'/>
                  <c:out value='<td nowrap height="${sitenav.navtabSelImgSize[1][0]}" style="background-image: url(\'${sitenav.navtabSelImg[1]}\')"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="bottom" align="left" width="${sitenav.navtabSelImgSize[0][2]}" height="${sitenav.navtabSelImgSize[1][0]}"><img border="0" src="${sitenav.navtabSelImg[2]}" width="${sitenav.navtabSelImgSize[0][2]}" height="${sitenav.navtabSelImgSize[1][0]}" alt=""></td>' escapeXml='false'/>
               </tr>
               <tr>
                  <c:out value='<td nowrap style="background-image: url(\'${sitenav.navtabSelImg[3]}\')"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="middle" style="background-image: url(\'${sitenav.navtabSelImg[4]}\')"><a href="${item.href}" class="htab01_item_self">${item.label}</a></td>' escapeXml='false'/>
                  <c:out value='<td nowrap style="background-image: url(\'${sitenav.navtabSelImg[5]}\')"></td>' escapeXml='false'/>
               </tr>
               <tr>
                  <c:out value='<td nowrap valign="top" align="right" width="${sitenav.navtabSelImgSize[0][0]}" height="${sitenav.navtabSelImgSize[1][2]}"><img border="0" src="${sitenav.navtabSelImg[6]}" width="${sitenav.navtabSelImgSize[0][0]}" height="${sitenav.navtabSelImgSize[1][2]}" alt=""></td>' escapeXml='false'/>
                  <c:out value='<td nowrap height="${sitenav.navtabSelImgSize[1][2]}" style="background-image: url(\'${sitenav.navtabSelImg[7]}\')"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="top" align="left" width="${sitenav.navtabSelImgSize[0][2]}" height="${sitenav.navtabSelImgSize[1][2]}"><img border="0" src="${sitenav.navtabSelImg[8]}" width="${sitenav.navtabSelImgSize[0][2]}" height="${sitenav.navtabSelImgSize[1][2]}" alt=""></td>' escapeXml='false'/>
               </tr>
            </tbody>
         </table>
         </td>
  </c:when>
  <c:when test="${item.group}">
         <td class="htab01_cell_group">
         <table cellspacing="0" cellpadding="0" border="0">
            <tbody>
               <tr>
                  <c:out value='<td nowrap valign="bottom" align="right" width="${sitenav.navtabImgSize[0][0]}" height="${sitenav.navtabImgSize[1][0]}" class="htab01_group_tl"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap height="${sitenav.navtabImgSize[1][0]}" class="htab01_group_t"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="bottom" align="left" width="${sitenav.navtabImgSize[0][2]}" height="${sitenav.navtabImgSize[1][0]}" class="htab01_group_tr"></td>' escapeXml='false'/>
               </tr>
               <tr>
                  <td nowrap class="htab01_group_l"></td>
                  <td nowrap valign="middle" class="htab01_group_c">
                  <span class="htab01_item_group"><c:out value='${item.label}' escapeXml='false'/></span></td>
                  <td nowrap class="htab01_group_r"></td>
               </tr>
               <tr>
                  <c:out value='<td nowrap valign="top" align="right" width="${sitenav.navtabImgSize[0][0]}" height="${sitenav.navtabImgSize[1][2]}" class="htab01_group_bl"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap height="${sitenav.navtabImgSize[1][2]}" class="htab01_group_b"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="top" align="left" width="${sitenav.navtabImgSize[0][2]}" height="${sitenav.navtabImgSize[1][2]}" class="htab01_group_br"></td>' escapeXml='false'/>
               </tr>
            </tbody>
         </table>
         </td>
  </c:when>
  <c:otherwise>
         <td class="htab01_cell_normal">
         <table cellspacing="0" cellpadding="0" border="0">
            <tbody>
               <tr>
                  <c:out value='<td nowrap valign="bottom" align="right" width="${sitenav.navtabImgSize[0][0]}" height="${sitenav.navtabImgSize[1][0]}"><img border="0" src="${sitenav.navtabImg[0]}" width="${sitenav.navtabImgSize[0][0]}" height="${sitenav.navtabImgSize[1][0]}" alt=""></td>' escapeXml='false'/>
                  <c:out value='<td nowrap height="${sitenav.navtabImgSize[1][0]}" style="background-image: url(\'${sitenav.navtabImg[1]}\')"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="bottom" align="left" width="${sitenav.navtabImgSize[0][2]}" height="${sitenav.navtabImgSize[1][0]}"><img src="${sitenav.navtabImg[2]}" border="0" width="${sitenav.navtabImgSize[0][2]}" height="${sitenav.navtabImgSize[1][0]}" alt=""></td>' escapeXml='false'/>
               </tr>
               <tr>
                  <c:out value='<td nowrap style="background-image: url(\'${sitenav.navtabImg[3]}\')"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="middle" style="background-image: url(\'${sitenav.navtabImg[4]}\')"><a href="${item.href}" class="htab01_item_normal">${item.label}</a></td>' escapeXml='false'/>
                  <c:out value='<td nowrap style="background-image: url(\'${sitenav.navtabImg[5]}\')"></td>' escapeXml='false'/>
               </tr>
               <tr>
                  <c:out value='<td nowrap valign="top" align="right" width="${sitenav.navtabImgSize[0][0]}" height="${sitenav.navtabImgSize[1][2]}"><img border="0" src="${sitenav.navtabImg[6]}" width="${sitenav.navtabImgSize[0][0]}" height="${sitenav.navtabImgSize[1][2]}" alt=""></td>' escapeXml='false'/>
                  <c:out value='<td nowrap height="${sitenav.navtabImgSize[1][2]}" style="background-image: url(\'${sitenav.navtabImg[7]}\')"></td>' escapeXml='false'/>
                  <c:out value='<td nowrap valign="top" align="left" width="${sitenav.navtabImgSize[0][2]}" height="${sitenav.navtabImgSize[1][2]}"><img border="0" src="${sitenav.navtabImg[8]}" width="${sitenav.navtabImgSize[0][2]}" height="${sitenav.navtabImgSize[1][2]}" alt=""></td>' escapeXml='false'/>
               </tr>
            </tbody>
         </table>
         </td>
  </c:otherwise>
 </c:choose>
</c:forEach>
      </tr>
   </tbody>
</table>
</body>
</html>
